package com.csyf.manager.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: casper
 * @Description: 提现记录表
 * @Date: Created in 2018/10/27 17:32
 */
@Data
@Table(name = "sys_withdrawal_record")
public class SysWithdrawalRecord implements Serializable {

    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;

    private String channelNo;

    private String appId;

    private BigDecimal money;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String remark;

    @Transient
    private String withdrawalCreateTimeStr;
    @Transient
    private String withdrawalEndTimeStr;


}
